<?php

namespace app\common\arvato;

/**
 * Description of Base
 *
 * @author Expect
 */
class Base {

   

    /**
     * 组装成所需要的格式
     * @param type $data
     * @param type $type
     * @return type
     */
    protected function assemble($params = [], $type = 'serialize') {
        switch ($type) {
            case 'serialize':
                $returnData = serialize($params);
                break;
            default :
                $returnData = serialize($params);
                break;
        }
        return $returnData;
    }

}
